package com.lry.web.cartoon.service;

import com.lry.web.cartoon.entity.CartoonVariable;

import java.util.List;
import java.util.Map;

public interface CartoonVariableService {

    int setCartoonVariable(CartoonVariable cartoonVariable);

    List<CartoonVariable> getCartoonVariables();

    int delete(Integer id);

    CartoonVariable getCartoonVariable(Integer id);

    Map<String, Object> selectCartoonVariables(Integer from, Integer size);

    int updateCartoonVariable(CartoonVariable cartoonVariable);

    Map<String,Object> verifyCartoonVariable(CartoonVariable cartoonVariable, String name) throws Exception;
}
